package com.baidu.sensitivewordfiltering.service;

import java.util.Set;

public interface SensitiveWordService {
    /**
     * 获取敏感词内容
     * @param text
     * @return
     */
    Set<String> sensitiveWordFiltering(String text);

    /**
     * 替换敏感词内容
     * @param text
     * @return
     */
    String replaceSensitiveWords(String text);
}
